// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

Item {
    id: cell
    width: 500
    height: 100

    property int h: hours
    property int m: minutes

    Rectangle {
        anchors.fill: parent
        anchors.margins: 4
        Row {
            spacing: 10
            Text {
                width: 60
                y: 4
                text: hours + ":" + (minutes < 10 ? "0" : "") + minutes
                font.pixelSize: 20
                color: "gray"
            }
            ListView {
                y: 4
                width: 400
                spacing: 6
                height: cell.height - 15
                orientation: ListView.Horizontal
                model: jobs
                delegate: JobInFullDayElement {}
            }
        }
        border.width: 1
        border.color: "lightgray"
    }
}
